//
//  JBWRealNameAuthenticationViewController.m
//  JBWDSK
//
//  Created by 崔志伟 on 2018/7/30.
//  Copyright © 2018年 崔志伟. All rights reserved.
//

#import "JBWRealNameAuthenticationViewController.h"

@interface JBWRealNameAuthenticationViewController ()
@property (nonatomic,strong) JBWPlaceholderUITextField  * nameTextField ;
@property (nonatomic,strong) JBWPlaceholderUITextField  * identityCardTextField ;

@end

@implementation JBWRealNameAuthenticationViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.mainNavView.backTitle = @"实名认证";
    [self setupsubView];
}
- (void)setupsubView {
    self.nameTextField = [[JBWPlaceholderUITextField alloc]initWithFrame:CGRectMake(15, 20, self.contenView.frame.size.width-30, 30)];
    self.nameTextField .textColor = [UIColor whiteColor];
    self.nameTextField .font = [UIFont systemFontOfSize:15];
    self.nameTextField .placeholder = @"请输入姓名";
    [self.contenView addSubview:self.nameTextField ];
    UIView *lineView1 = [[UIView alloc]initWithFrame:CGRectMake(15, 50, self.contenView.frame.size.width-30, 1)];
    lineView1.backgroundColor = [UIColor grayColor];
    [self.contenView addSubview:lineView1];
    
    
    self.identityCardTextField = [[JBWPlaceholderUITextField alloc]initWithFrame:CGRectMake(15, 60, self.contenView.frame.size.width-30, 30)];
    self.identityCardTextField.textColor = [UIColor whiteColor];
    self.identityCardTextField.font = [UIFont systemFontOfSize:15];
    self.identityCardTextField.placeholder = @"请输入身份证账号";
    [self.contenView addSubview:self.identityCardTextField];
    
    UIView *lineView2 = [[UIView alloc]initWithFrame:CGRectMake(15, 90, self.contenView.frame.size.width-30, 1)];
    lineView2.backgroundColor = [UIColor grayColor];
    [self.contenView addSubview:lineView2];
    
    UIButton *authenticationBtn = [[UIButton alloc]initWithFrame:CGRectMake(15, 120, self.contenView.frame.size.width-30, 40)];
    authenticationBtn.backgroundColor = [UIColor orangeColor];
    [authenticationBtn setTitle:@"认证" forState:UIControlStateNormal];
    [authenticationBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    authenticationBtn.titleLabel.font = [UIFont systemFontOfSize:15];
    authenticationBtn.layer.cornerRadius = 5;
    authenticationBtn.layer.masksToBounds = YES;
    [authenticationBtn addTarget:self action:@selector(authenticationBtnAction) forControlEvents:UIControlEventTouchUpInside];
    [self.contenView addSubview:authenticationBtn];
}

- (void)authenticationBtnAction{
    
    
}


@end
